<div class="col-md-12 column">
        <h3>
                <?php echo __('MOVIES_FOUND')?>
        </h3>

        <?php 
            foreach($movie_info as $movie) {
                echo 
                    '<div class="col-md-6 column pull-left"><div class="panel panel-default"><div class="panel-heading"><h3 class="panel-title"><strong>' .
                        ($language == 'lv' ? $movie->title_lv : $movie->title_en ). '</strong> (' . $movie->year . ')' .
                    '</h3></div><div class="panel-body"><p>'.
                        '<img src="/uploads/posters/' . $movie->poster_small . '" style="float: left; margin-right: 10px;">' .
                        ( $language == 'lv' ? mb_substr($movie->description_lv, 0, 200) : mb_substr($movie->description_en, 0, 200) ). '...</p><p>' . 
                        '<p>
                        <a class="btn btn-info" href="/movie/view/'. $movie->id .'">'. __('MOVIE_INFO') .'</a>' .
                    '</div></div></div>';
            }
        ?>
</div>
